package cn.samler.diandi.api.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class PostRequestComment {
    @NotBlank(message = "request id must be not null")
    private String requestId;

    private Integer uid;

    private String username;

    @NotBlank(message = "内容不能为空")
    private String content;

    private Date date;
}
